/**
 * 引导配置接口
 */
export interface IGuide {
    /**引导id */
    guideId: number;
    /**是否强制 */
    isForce: boolean;
    /**引导名称 */
    guideName: string;
    /**引导指向 */
    nodeName?: string;
    /**手指坐标 */
    showNodePos?: cc.Vec3;
    /**引导文本 */
    contentText: string;
    /**触发引导条件 */
    condition: Array<ICondition>;
    /**同一个场景内继续引导 */
    next?: number;
    /**场景 */
    scene?: string;
    /**引导分组 */
    group?: number;
}
/**触发引导条件接口 */
export interface ICondition {
    /**条件 */
    action: string;
    /**大于｜小于｜等于 */
    judge: string;
    /**目标值 */
    count: number;
}
/**
 * 1.开始游戏
 * 2.选择三心二意
 * 3.提示删除单个的字
 * 4.提示删除所有的字
 * 5.恭喜完成新手引导1
 * 6.点击进入下一关
 */
export const GuideCfg: IGuide[] = [
    {
        guideId: 1,
        isForce: true,
        guideName: "开始游戏",
        nodeName: "node1",
        showNodePos: cc.v3(0, -106),
        contentText: "欢迎来成语游戏！\n点击这里开始答题之旅吧！\n",
        condition: [{
            action: "level",
            judge: "=",
            count: 0
        }],
        scene: 'prefabs/gameModule/gameMainLayer'
    },
    {
        guideId: 2,
        isForce: true,
        guideName: "选择文字",
        nodeName: "node2",
        showNodePos: cc.v3(-305, -241),
        contentText: "三心二意这个成语我知道\n我太聪明了 一眼就看到了\n 首先选择 【 一 】",
        condition: [{
            action: "level",
            judge: "=",
            count: 0
        }],
        next: 3,
        scene: 'prefabs/gameModule/gameLayer',
        group: 1
    },
    {
        guideId: 3,
        isForce: true,
        guideName: "选择文字",
        nodeName: "node3",
        showNodePos: cc.v3(-176, -241),
        contentText: "现在应该选择 【 目 】",
        condition: [{
            action: "level",
            judge: "=",
            count: 0
        }],
        next: 4,
        scene: 'prefabs/gameModule/gameLayer',
        group: 1
    },
    {
        guideId: 4,
        isForce: true,
        guideName: "选择文字",
        nodeName: "node4",
        showNodePos: cc.v3(-62, -241),
        contentText: "现在应该选择 【 十 】",
        condition: [{
            action: "level",
            judge: "=",
            count: 0
        }],
        next: 5,
        scene: 'prefabs/gameModule/gameLayer',
        group: 1
    },
    {
        guideId: 5,
        isForce: true,
        guideName: "选择文字",
        nodeName: "node5",
        showNodePos: cc.v3(68, -241),
        contentText: "现在应该选择【 行 】 ",
        condition: [{
            action: "level",
            judge: "=",
            count: 0
        }],
        next: 6,
        scene: 'prefabs/gameModule/gameLayer',
        group: 1
    },
    {
        guideId: 6,
        isForce: false,
        guideName: "恭喜",
        nodeName: null,
        showNodePos: null,
        contentText: "恭喜您已经完成第一个成语\n 那么接下来自己完成第二个吧 ",
        condition: [{
            action: "level",
            judge: "=",
            count: 0
        }],
        scene: 'prefabs/gameModule/gameLayer',
        group: 1
    },
    {
        guideId: 7,
        isForce: true,
        guideName: "恭喜通关",
        nodeName: "node6",
        showNodePos: cc.v3(107, -50),
        contentText: "恭喜通关 点击这里到下一关 ",
        condition: [{
            action: "level_success",
            judge: "=",
            count: 1
        },
        {
            action: "level",
            judge: "=",
            count: 0
        }],
        scene: 'prefabs/gameModule/level_success'
    }

]